
package com.workcell.workdata.im.annotation.validator;


import com.workcell.workdata.im.component.validator.MessageImageValidator;

import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.*;

@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Constraint(validatedBy = MessageImageValidator.class)
public @interface MessageImageFormat {

    String message();

    Class<?>[] groups() default {};

    Class<? extends Payload>[] payload() default {};
}
